package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "给指定司机发大红包")
public class GiveDriverSpecialRewardWrapper {

    @ApiModelProperty(value = "reward_detail")
    @NotNull(message = "reward_detail 不能为空")
    private List<GiveDriverSpecialRewardDto> rewardDetail;

    @Data
    public static class GiveDriverSpecialRewardDto {
        private BigDecimal amount;
        private List<Long> drivers;
    }

}
